Conversation
WASM is arch independant, so no need to make for each arch. Will just build on linux. Get mmap emulation working. We need stdlib To use like a library requires some __attribute__ stuff in cpp and -mexec-model=reactor in the build command.
|
Related: #328 |
|
I start thinking that for WASM support, we must change at least JS and Rust bindings to use the intermediate C layer, introducing ABI stability, and then simply shipping precompiled shared libraries for WASM. What do you think, @sroussey? |
|
Can't ship anything that uses exceptions at the moment, at least with wasi. Quickly changing area, but still not there yet. |
|
I am not sure about JavaScript WASM support yet, but CloudFlare recently posted an article about their Pyodide workers: LLVM provides three target triples for WebAssembly:
Pyodide uses Emscripten, and provides three things:
I am thinking to update the |
|
How to use this libraries wasm bundle.Because when I try to install with wasmer or run it gives errors. |
WASM is arch independant, so no need to make for each arch. Will just build on linux.
Get mmap emulation working.
We need stdlib
To use like a library requires some
__attribute__stuff in cpp and-mexec-model=reactorin the build command.Still fails: